package com.qige.homework;

public class day16_homework1 {
    public static void main(String[] args) {
        IntB b = new IntB();
        b.showA();
        b.showB();
    }
}
interface IntA{
    public abstract void showA();
    public default void showB() {
        System.out.println("BBBB");
    }
}
class IntB implements IntA{
    @Override
    public void showA() {
        System.out.println("AAAA");
    }
}

